using System;
using System.Collections.Generic;
using System.Text;

namespace Decav.Transactions
{
    /// <summary>
    /// Finds the targets of a data bind for a <see cref="DataBinder"/>.
    /// </summary>
    public interface IBoundPropertiesSelector
    {
        /// <summary>
        /// Finds all the <see cref="BindingTarget"/> that will be bound to.
        /// </summary>
        /// <param name="obj">The object that will be bound.</param>
        /// <returns>The targets to bind to.</returns>
        BindingTarget[] GetTargets(object obj);
    }
}
